package com.netcracker.training.automonic.dao.entities;

import java.util.List;

/**
 * Resource which analyzed.
 * 
 * @author Vadim Gidulyan
 * 
 * @see Object
 */

public interface Site
{

	/**
	 * Returns site id.
	 * 
	 * @return site id
	 */
	int getId();
	
	/**
	 * Returns site name.
	 * 
	 * @return site name
	 */
	String getName();
	
	/**
	 * Sets the name of the site. The name must be unique.
	 * 
	 * @param name new name of the site
	 */
	public void setName(String name);
	
	/**
	 * Returns list of objects taken from the site.
	 * 
	 * @return list of objects taken from the site
	 */
	List<Object> getObjects();
	
	/**
	 * Saves object to database.
	 */
	void save();

}
